<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html><head>
   <meta name="renderer" content="webkit">
   <META content="IE=5.0000" http-equiv="X-UA-Compatible">
   <title>后台管理系统</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link href="/ncrm/Public/Admin/css/dpl-min.css" rel="stylesheet" type="text/css">
   <link href="/ncrm/Public/Admin/css/bui-min.css" rel="stylesheet" type="text/css">
   <link href="/ncrm/Public/Admin/css/main-min.css" rel="stylesheet" type="text/css">
   <script src="/ncrm/Public/Admin/js/main-min.js" async="" charset="utf-8"></script>
   <script src="/ncrm/Public/Admin/js/b5m.js" charset="utf-8" id="b5mmain" type="text/javascript"></script>
   <link type="text/css" href="/ncrm/Public/Admin/css/b5m-plugin.css" rel="stylesheet">
   <link type="text/css" href="/ncrm/Public/Admin/css/b5m.css" rel="stylesheet"></head>
 <body>

  <div class="header">
    
      <div class="dl-title">
       <!--<img src="/chinapost/Public/assets/img/top.png">-->
      </div>

    <div class="dl-log">欢迎您：<span class="dl-log-user"><?php echo session('username');?></span><a href="<?php echo U('Login/out');?>" title="退出系统" class="dl-log-quit">[退出]</a>
    </div>
  </div>
   <div class="content">
    <div class="dl-main-nav">
      <div class="dl-inform"><div class="dl-inform-title"><s class="dl-inform-icon dl-up"></s></div></div>
      <ul id="J_Nav" class="nav-list ks-clear">
            <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">系统管理</div><div class="nav-item-mask"></div></li>       

      </ul>
    </div>
    <ul id="J_NavContent" class="dl-tab-conten">

       <li class="dl-tab-item">
          <div style="height: 556px;" class="dl-second-nav">
             <div class="dl-second-tree" id="J_1Tree">
                <ul aria-pressed="false" aria-disabled="false" style="height: 556px;" class="bui-side-menu bui-menu">    <li data-id="menu-item1" aria-disabled="false" class="bui-menu-item menu-second">
                       <div class="bui-menu-title"><s></s><span class="bui-menu-title-text">系统管理</span></div>
                           <ul aria-disabled="false" class="bui-menu">
                               <li data-id="2" aria-disabled="false" class="bui-menu-item menu-leaf"> 
                                  <a href="http://172.100.0.20/toUpload_upload?userId=1"><em>上传资源</em></a>
                                </li>
                                <li data-id="3" aria-disabled="false" class="bui-menu-item menu-leaf">
                                  <a href="http://172.100.0.20/display_resource"><em>资源管理</em></a>
                                </li>
                                <li data-id="4" aria-disabled="false" class="bui-menu-item menu-leaf">
                                  <a href="http://172.100.0.20/findDepartmentsAndGroups_resource"><em>用户管理</em></a>
                                </li>
                            </ul>
                     </li>
                </ul>
             </div>
          <div class="dl-second-slib-con">
          <div class="dl-second-slib">
            
          </div></div></div><div class="dl-inner-tab" id="J_1Tab">
            <div aria-pressed="false" aria-disabled="false" style="height: 556px;" class="bui-nav-tab bui-nav-tab-hover">
               <div class="tab-nav-bar"><s class="tab-nav-arrow arrow-left"></s>
                  <div class="tab-nav-wrapper"><div class="tab-nav-inner">
                     <ul class="tab-nav-list"></ul>
                  </div>
               </div><s class="tab-nav-arrow arrow-right"></s>
            </div>
            <div style="height: 535px;" class="tab-content-container"></div>
          </div></div></li><li class="dl-tab-item ks-hidden">
          <div class="dl-second-nav"><div class="dl-second-tree" id="J_7Tree"></div><div class="dl-second-slib-con"><div class="dl-second-slib"></div></div></div>
          <div class="dl-inner-tab" id="J_7Tab"></div>
      </li>
    </ul>
   </div>
  <script type="text/javascript" src="/ncrm/Public/Admin/js/jquery-1.js"></script>
  <script type="text/javascript" src="/ncrm/Public/Admin/js/bui-min.js"></script>
  <script type="text/javascript" src="/ncrm/Public/Admin/js/main-min.js"></script>
  <script type="text/javascript" src="/ncrm/Public/Admin/js/config-min.js"></script>
  <script>
    
    BUI.use('common/main',function(){
      
      <?php foreach ($btn as $k => $v): ?>
         var config = [{id:'1',menu:[{text:'<?php echo $v['priname'];?>',items:[
      
     <?php foreach ($v['children'] as $k1 => $v1): ?>
         {id:'2',text:'<?php echo $v1['priname'];?>',href:'<?php echo U($v1['modulename'].'/'.$v1['controllername'].'/'.$v1['actionname']); ?>'},
         
      <?php endforeach; ?>

         ]}]},
        ];
     <?php endforeach; ?>
     
      new PageUtil.MainPage({
        modulesConfig : config
      });
    });
  </script>
 
</body></html>